/// id : "1839197270002069523"
/// isDel : null
/// createBy : null
/// updateBy : null
/// createTime : null
/// updateTime : null
/// title : "测试打卡"
/// lon : null
/// lat : null
/// address : null
/// distance : null
/// clockType : null
/// startTime : null
/// endTime : null
/// personNum : null
/// remark : null
/// createUserId : null
/// teamId : null
/// taskStartTime : null
/// taskEndTime : null
/// attendanceClockingTimeList : null
/// idcardList : null
/// location : false

class PersonAttendanceClickingDto {
  PersonAttendanceClickingDto({
      String? id, 
      dynamic isDel, 
      dynamic createBy, 
      dynamic updateBy, 
      dynamic createTime, 
      dynamic updateTime, 
      String? title, 
      dynamic lon, 
      dynamic lat, 
      dynamic address, 
      dynamic distance, 
      dynamic clockType, 
      dynamic startTime, 
      dynamic endTime, 
      dynamic personNum, 
      dynamic remark, 
      dynamic createUserId, 
      dynamic teamId, 
      dynamic taskStartTime, 
      dynamic taskEndTime, 
      dynamic attendanceClockingTimeList, 
      dynamic idcardList, 
      bool? location,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _title = title;
    _lon = lon;
    _lat = lat;
    _address = address;
    _distance = distance;
    _clockType = clockType;
    _startTime = startTime;
    _endTime = endTime;
    _personNum = personNum;
    _remark = remark;
    _createUserId = createUserId;
    _teamId = teamId;
    _taskStartTime = taskStartTime;
    _taskEndTime = taskEndTime;
    _attendanceClockingTimeList = attendanceClockingTimeList;
    _idcardList = idcardList;
    _location = location;
}

  PersonAttendanceClickingDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _title = json['title'];
    _lon = json['lon'];
    _lat = json['lat'];
    _address = json['address'];
    _distance = json['distance'];
    _clockType = json['clockType'];
    _startTime = json['startTime'];
    _endTime = json['endTime'];
    _personNum = json['personNum'];
    _remark = json['remark'];
    _createUserId = json['createUserId'];
    _teamId = json['teamId'];
    _taskStartTime = json['taskStartTime'];
    _taskEndTime = json['taskEndTime'];
    _attendanceClockingTimeList = json['attendanceClockingTimeList'];
    _idcardList = json['idcardList'];
    _location = json['location'];
  }
  String? _id;
  dynamic _isDel;
  dynamic _createBy;
  dynamic _updateBy;
  dynamic _createTime;
  dynamic _updateTime;
  String? _title;
  dynamic _lon;
  dynamic _lat;
  dynamic _address;
  dynamic _distance;
  dynamic _clockType;
  dynamic _startTime;
  dynamic _endTime;
  dynamic _personNum;
  dynamic _remark;
  dynamic _createUserId;
  dynamic _teamId;
  dynamic _taskStartTime;
  dynamic _taskEndTime;
  dynamic _attendanceClockingTimeList;
  dynamic _idcardList;
  bool? _location;
PersonAttendanceClickingDto copyWith({  String? id,
  dynamic isDel,
  dynamic createBy,
  dynamic updateBy,
  dynamic createTime,
  dynamic updateTime,
  String? title,
  dynamic lon,
  dynamic lat,
  dynamic address,
  dynamic distance,
  dynamic clockType,
  dynamic startTime,
  dynamic endTime,
  dynamic personNum,
  dynamic remark,
  dynamic createUserId,
  dynamic teamId,
  dynamic taskStartTime,
  dynamic taskEndTime,
  dynamic attendanceClockingTimeList,
  dynamic idcardList,
  bool? location,
}) => PersonAttendanceClickingDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  title: title ?? _title,
  lon: lon ?? _lon,
  lat: lat ?? _lat,
  address: address ?? _address,
  distance: distance ?? _distance,
  clockType: clockType ?? _clockType,
  startTime: startTime ?? _startTime,
  endTime: endTime ?? _endTime,
  personNum: personNum ?? _personNum,
  remark: remark ?? _remark,
  createUserId: createUserId ?? _createUserId,
  teamId: teamId ?? _teamId,
  taskStartTime: taskStartTime ?? _taskStartTime,
  taskEndTime: taskEndTime ?? _taskEndTime,
  attendanceClockingTimeList: attendanceClockingTimeList ?? _attendanceClockingTimeList,
  idcardList: idcardList ?? _idcardList,
  location: location ?? _location,
);
  String? get id => _id;
  dynamic get isDel => _isDel;
  dynamic get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  dynamic get createTime => _createTime;
  dynamic get updateTime => _updateTime;
  String? get title => _title;
  dynamic get lon => _lon;
  dynamic get lat => _lat;
  dynamic get address => _address;
  dynamic get distance => _distance;
  dynamic get clockType => _clockType;
  dynamic get startTime => _startTime;
  dynamic get endTime => _endTime;
  dynamic get personNum => _personNum;
  dynamic get remark => _remark;
  dynamic get createUserId => _createUserId;
  dynamic get teamId => _teamId;
  dynamic get taskStartTime => _taskStartTime;
  dynamic get taskEndTime => _taskEndTime;
  dynamic get attendanceClockingTimeList => _attendanceClockingTimeList;
  dynamic get idcardList => _idcardList;
  bool? get location => _location;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['title'] = _title;
    map['lon'] = _lon;
    map['lat'] = _lat;
    map['address'] = _address;
    map['distance'] = _distance;
    map['clockType'] = _clockType;
    map['startTime'] = _startTime;
    map['endTime'] = _endTime;
    map['personNum'] = _personNum;
    map['remark'] = _remark;
    map['createUserId'] = _createUserId;
    map['teamId'] = _teamId;
    map['taskStartTime'] = _taskStartTime;
    map['taskEndTime'] = _taskEndTime;
    map['attendanceClockingTimeList'] = _attendanceClockingTimeList;
    map['idcardList'] = _idcardList;
    map['location'] = _location;
    return map;
  }

}